﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NewDDSys.Entity;
using NewDDSys.Factory;
using NewDDSys.IBLL;
using System.Data;

namespace NewDDSys.BLL
{
    public class GpwfBLL:IGpwfBLL
    {
        public int Add(GpwfInfo wf)
        {
            return DALFactory.CreateGpwfDAL().Add(wf);
        }
        public int Update(string gnum, string neirong, decimal sl)
        {
            return DALFactory.CreateGpwfDAL().Update(gnum, neirong, sl);
        }
        public int Del(string gnum)
        {
            return DALFactory.CreateGpwfDAL().Del(gnum);
        }
        public DataSet Select(string gnum)
        {
            return DALFactory.CreateGpwfDAL().Select(gnum);
        }
        public DataSet SelectByDay(string sday, string banzu, string ku)
        {
            return DALFactory.CreateGpwfDAL().SelectByDay(sday, banzu, ku);
        }
        public string NumByKG(string ku, string guige)
        {
            return DALFactory.CreateGpwfDAL().NumByKG(ku, guige);
        }
        public string AUTOID(string ku)
        {
            return DALFactory.CreateGpwfDAL().AUTOID(ku);
        }
        public string LZCWF(string cday, string guige)
        {
            return DALFactory.CreateGpwfDAL().LZCWF(cday, guige);
        }
        public string HFWF(string cday, string guige)
        {
            return DALFactory.CreateGpwfDAL().HFWF(cday, guige);
        }
        public string CCPWF(string cday, string guige)
        {
            return DALFactory.CreateGpwfDAL().CCPWF(cday, guige);
        }
        public string LZCFPCK(string cday)
        {
            return DALFactory.CreateGpwfDAL().LZCFPCK(cday);
        }
        public string BPDK(string cday)
        {
            return DALFactory.CreateGpwfDAL().BPDK(cday);
        }
        public string BPCK(string cday)
        {
            return DALFactory.CreateGpwfDAL().BPCK(cday);
        }
        public string FPDK(string cday)
        {
            return DALFactory.CreateGpwfDAL().FPDK(cday);
        }
        public string FPCK(string cday)
        {
            return DALFactory.CreateGpwfDAL().FPCK(cday);
        }
        public DataSet LZCGG()
        {
            return DALFactory.CreateGpwfDAL().LZCGG();
        }
        public DataSet HFGG()
        {
            return DALFactory.CreateGpwfDAL().HFGG();
        }
        public DataSet CCPGG()
        {
            return DALFactory.CreateGpwfDAL().CCPGG();
        }
        public string LZCFPKC(string cday)
        {
            return DALFactory.CreateGpwfDAL().LZCFPKC(cday);
        }
        public string DKFPKC(string cday)
        {
            return DALFactory.CreateGpwfDAL().DKFPKC(cday);
        }
        public string DKBPKC(string cday)
        {
            return DALFactory.CreateGpwfDAL().DKBPKC(cday);
        }
    }
}
